/*
 * @Description: 
 * @Date: 2019-09-11 10:32:30
 * @LastEditTime: 2020-03-18 23:51:13
 * @LastEditors: 黄勇
 */
import { Loading } from "element-ui";
export let loading = {
    show(text = "努力上传中...") {
        this.loading = Loading.service({
            lock: true,
            text: text,
            background: "rgba(0, 0, 0, 0.7)"
        });
    },
    hide() {
        this.loading.close()
    }
}

